package com.hnd.springframework.beans.factory.config;

import com.hnd.springframework.beans.PropertyValues;

public class BeanDefinition {
    private Class beanClass;
    private PropertyValues propertyValues;

    public BeanDefinition(Class beanClass) {
        propertyValues = new PropertyValues();
        this.beanClass = beanClass;
    }

    public BeanDefinition(Class beanClass, PropertyValues pvs) {
        this.beanClass = beanClass;
        this.propertyValues = pvs == null ? new PropertyValues() : pvs;
    }

    public Class getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class beanClass) {
        this.beanClass = beanClass;
    }

    public PropertyValues getPropertyValues() {
        return propertyValues;
    }

}
